import '../src/assets/css/global.css'
import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router/index'
import vuetify from '@/plugins/vuetify'
import '@/common/scss/vuetify.scss'
import {Utils} from "@/common/js/utils.js"
import '@/common/js/filters'
import store from "@/store"
import '@/assets/js/courseCategory'
import '@/mock/mock'
import {plugin} from 'echarts-for-vue'
import * as echarts from 'echarts'
import './plugins/element.js'

import bootstrap from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import './assets/fonts/font.css'
import VueSocketIO from "vue-socket.io/dist/vue-socketio";
import ClientSocketIO from 'socket.io-client'
import VueCookies from 'vue-cookies'
import Element from 'element-ui'

Vue.prototype.utils = new Utils()

Vue.use(plugin, {echarts})

Vue.config.productionTip = false
Vue.use(new VueSocketIO({
    connection: ClientSocketIO.connect("http://127.0.0.1:8888/", {
        transports: ['websocket']
    }),
}))

Vue.use(bootstrap)
Vue.use(VueCookies)
new Vue({
    render: h => h(App),
    router,
    vuetify,
    store
}).$mount('#app')